package com.numberone.master.modules.sys.dao;

import java.util.List;

import org.apache.ibatis.annotations.Param;

import com.numberone.master.common.persistence.TreeDao;
import com.numberone.master.common.persistence.annotation.MyBatisDao;
import com.numberone.master.modules.sys.entity.Office;

/**
 * 机构DAO接口
 * @author numberone
 * @version 2014-05-16
 */
@MyBatisDao
public interface OfficeDao extends TreeDao<Office> {
	List<Office> findAlreadyList(Office o);
	
	Office isName(String name);
	
	Office getAgentByIccid(String iccid);
	
	List<Office> getNextOfficeByid(String officeId);
	
	List<Office> findOfficeListByIds(@Param("ids")String ids);
	
}
